package com.acme.javaschool.sems.ionio.serialization;

import java.io.InputStream;
import java.io.OutputStream;

public interface Serializer<T> {

    void serialize(OutputStream outputStream, T object);

    T deserialize(InputStream inputStream);

}
